import { Column, Entity, Index, PrimaryColumn } from 'typeorm';
import { BaseEntity } from '../../common/base.entity';

/**
 * 插件 阿里云监控SLB qps
 */
@Entity(PluginAliyunMonitorSLB_QPS.tableName)
export class PluginAliyunMonitorSLB_QPS {

  static entityName = 'PluginAliyunMonitorSLB_QPS';
  static tableName = 'plugin_aliyun_monitor_slb_qps';

  @PrimaryColumn({ comment: 'id，格式：instanceId + t' })
  id: string;
  @Column({ comment: '时间' })
  t: number;
  @Column({ comment: '阿里云SLB instanceId' })
  instanceId: number;
  @Column({ comment: '阿里云SLB instanceName' })
  instanceName: string;
  @Column({ comment: '平均值' })
  average: number;
  @Column({ comment: '阿里云SLB vip' })
  vip: string;


}


